package com.bootdo.cms.dao;


import com.bootdo.cms.domain.MemberDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @author KonBAI
 * @version 1.0
 * Create by 2019/12/18 03:14
 */
@Mapper
public interface MemberDao {

	MemberDO get(Long memberId);

	MemberDO getByUsername(String username);
	
	List<MemberDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(MemberDO member);
	
	int update(MemberDO member);
	
	int remove(Long member_id);
	
	int batchRemove(Long[] memberIds);
}
